/* Upcoming features section */

/* Base section styling */
#upcoming-features {
    padding: 80px 0;
    /* Adjusted padding */
    background: var(--bg);
    /* Fallback */
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.03) 0%, var(--bg) 70%);
    color: var(--text);
    text-align: center;
    overflow: hidden;
}

[data-theme="light"] #upcoming-features {
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, #ffffff 70%);
}

.features-container {
    max-width: 1000px;
    /* Slightly narrower container for focus */
    margin: 0 auto;
    padding: 0 20px;
}

/* Section titles */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--accent);
    bottom: -15px;
    left: 20%;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent);
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    color: var(--text-muted);
    /* Using theme variable */
    margin-bottom: 60px;
}

/* Features List Container (Grid replacement) */
.features-grid {
    display: grid;
    /* Use a simple two-column layout */
    grid-template-columns: 1fr 1fr;
    gap: 25px 50px;
    /* Vertical and horizontal gap */
    text-align: left;
}

/* Individual Feature Card (Now a Feature Box) */
.feature-card {
    background: transparent;
    /* Transparent background */
    padding: 20px 0;
    /* Padding for spacing */
    border-bottom: 2px solid var(--border);
    /* Using theme variable */
    transition: background-color 0.3s ease, border-color 0.3s ease;
    cursor: default;

    /* Flexbox for icon/title alignment */
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    /* Subtle background and border change on hover */
    background-color: var(--panel);
    border-bottom: 2px solid var(--accent);
}

/* Icon and Title Container */
.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5em;
    color: var(--text);
    /* Using theme variable */
    margin: 0;
    display: inline;
    vertical-align: middle;
}

.feature-icon {
    font-size: 1.8em;
    /* Smaller, integrated icon size */
    color: var(--accent);
    /* Using theme variable */
    margin-right: 15px;
    vertical-align: middle;
    display: inline-block;
    width: 30px;
    /* Fixed width for better alignment */
    text-align: center;
}

.feature-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95em;
    color: var(--text-muted);
    /* Using theme variable */
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 20px;
    /* Ensure minimum separation before the bottom bar */
    padding-left: 45px;
    /* Offset text to align with description */
}

/* Adjusting the H3 and Icon in the HTML */
/* Since you have <i> and <h3> side-by-side, we need to adjust the display: */
.feature-card>i,
.feature-card>h3 {
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .features-grid {
        /* Switch to a single column on smaller screens */
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.2rem;
    }

    .feature-card h3 {
        font-size: 1.3em;
    }

    .feature-card p {
        font-size: 0.9em;
    }
}

/* =========================================================
   UPCOMING FEATURES — SCROLL REVEAL + STAGGER + NEON GLOW
   ========================================================= */
.uf-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.uf-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card {
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.4s ease;
}

/* NEON glow effect when revealed */
.feature-card.visible {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
    border-bottom: 2px solid var(--accent);
}

/* ================================================
   FAQ-STYLE SIMPLE SCROLL REVEAL
================================================ */

.uf-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.7s ease-out;
}

.uf-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   SIMPLE FAQ-STYLE SCROLL REVEAL (NO DESIGN CHANGE)
================================================ */

.uf-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.7s ease-out;
}

.uf-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* REMOVE UNWANTED BACKGROUND FROM FEATURE CARDS */
.feature-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Keep only the bottom yellow separator like screenshot */
.feature-card::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    margin-top: auto;
    /* Push to the bottom of the card to align with others */
    background-color: var(--accent);
    opacity: 0.8;
}

/* Remove hover background completely */
.feature-card:hover {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}